package ;

//import hxjson2.JSON;
import haxe.Log;
import js.Browser;
//import js.Dom;
import js.JQuery;
import js.Lib;
import me.cunity.debug.Out;
import me.cunity.js.jqx.applet.Jx;
import me.cunity.util.GlobalTimer;

/**
 * ...
 * @author Axel Huizinga axel@cunity.me
 */

class Main 
{
	
	static function main() 
	{
		Log.trace = Out._trace;
		//Lib.window.onerror = untyped function(err:String, file:String, line:String) { trace('line ' + line + ' :' +err); return true; }
		Out.traceTarget = DebugOutput.CONSOLE;
		//Lib.window.onerror = GlobalTimer.clearAllTimers;
		//trace("offset:" + Std.string(new JQuery('.slideBox').offset()));
		var jqx:Jx = untyped Browser.window.jqx = new Jx();
		//Lib.alert('ok');
		
	}
	
}